﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoveNote.Database.Entities
{
    /// <summary>
    /// 客户表
    /// </summary>
    [Table(nameof(CustomerEntity))]
    public partial class CustomerEntity : EntityBase
    {
        private int userId = 0;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId
        {
            get { return userId; }
            set { SetProperty(ref userId, value); }
        }

        private string name = string.Empty;
        /// <summary>
        /// 客户名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { SetProperty(ref name, value); }
        }

        private string telephone = string.Empty;
        /// <summary>
        /// 客户电话
        /// </summary>
        public string Telephone
        {
            get { return telephone; }
            set { SetProperty(ref telephone, value); }
        }

        private string sex = "保密";
        /// <summary>
        /// 性别:保密,男,女
        /// </summary>
        public string Sex
        {
            get { return sex; }
            set { SetProperty(ref sex, value); }
        }

        private string city = string.Empty;
        /// <summary>
        /// 城市
        /// </summary>
        public string City
        {
            get { return city; }
            set { SetProperty(ref city, value); }
        }

        private string profile = string.Empty;
        /// <summary>
        /// 头像
        /// </summary>
        public string Profile
        {
            get { return profile; }
            set { SetProperty(ref profile, value); }
        }

        private string tag = string.Empty;
        /// <summary>
        /// 备注
        /// </summary>
        public string Tag
        {
            get { return tag; }
            set { SetProperty(ref tag, value); }
        }

        private int money = 0;
        /// <summary>
        /// 支付金额
        /// </summary>
        public int Money
        {
            get { return money; }
            set { SetProperty(ref money, value); }
        }


        private DateTime updateDate = DateTime.Now;
        /// <summary>
        /// 更新进度日期时间
        /// </summary>
        public DateTime UpdateDate
        {
            get { return updateDate; }
            set { SetProperty(ref updateDate, value); }
        }
    }
}
